home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / D-G / Extension Shell 1.3.sit / Extension Shell 1.3 ƒ / Sample Extensions / Generic ES Handler ƒ / CodeConstants.h / CodeConstants.h
Encoding:
C/C++ Source or Header  |  1994-04-05  |  1.9 KB  |  48 lines  |  [TEXT/R*ch]

  1. /*    NAME:
  2.         CodeConstants.h
  3.  
  4.     WRITTEN BY:
  5.         Dair Grant
  6.                 
  7.     DESCRIPTION:
  8.         Header file for various Extension specific constants
  9.  
  10.     NOTES:
  11.         •    The defines in this file serve as indexes into the code details array
  12.             that's embedded in a ESParamBlock, for interpreting the value of
  13.             errorIndex, and for indexing into an address table.
  14.         
  15.         •    It's also a good idea to use this file to define the various resource
  16.             types/IDs that your Extension uses.
  17.         
  18.     ___________________________________________________________________________
  19. */
  20. #ifndef __CODECONSTANTS__
  21. #define __CODECONSTANTS__
  22. //=============================================================================
  23. //        Defines                                                                 
  24. //-----------------------------------------------------------------------------
  25. #define kCodeThingOne                1                            // Some code resource
  26. #define kCodeThingTwo                2                            // Some code resource
  27. #define kCodeThingThree                3                            // Some code resource
  28. #define kCodeThingFour                4                            // Some code resource
  29. #define kCodeThingFive                5                            // Some code resource
  30. #define kCodeThingSix                6                            // Some code resource
  31.  
  32. #define kThingOneResType            'CODE'                        // Resource type of some code
  33. #define kThingTwoResType            'CODE'                        // Resource type of some code
  34. #define kThingThreeResType            'CODE'                        // Resource type of some code
  35. #define kThingFourResType            'CODE'                        // Resource type of some code
  36. #define kThingFiveResType            'CODE'                        // Resource type of some code
  37. #define kThingSixResType            'CODE'                        // Resource type of some code
  38. #define kThingOneResID                128                            // Resource ID of some code
  39. #define kThingTwoResID                129                            // Resource ID of some code
  40. #define kThingThreeResID            130                            // Resource ID of some code
  41. #define kThingFourResID                131                            // Resource ID of some code
  42. #define kThingFiveResID                132                            // Resource ID of some code
  43. #define kThingSixResID                133                            // Resource ID of some code
  44.  
  45.  
  46.  
  47. #endif
  48.